package com.tanfuqi.sicent.protocol.message

import com.fasterxml.jackson.annotation.JsonProperty
import io.swagger.annotations.ApiModelProperty

class Switch() : Body {

    @ApiModelProperty(name = "卡号", example = "400402123456789012", hidden = true)
    private var cardId: String? = null
        @JsonProperty("card_id")
        get
    @ApiModelProperty(name = "源机器", example = "A001")
    private var fromComputer: String? = null
        @JsonProperty("from_computer")
        get
    @ApiModelProperty(name = "目标机器", example = "A002")
    private var toComputer: String? = null
        @JsonProperty("to_computer")
        get
    constructor(cardId: String,fromComputer: String,toComputer: String):this(){
        this.cardId=cardId
        this.fromComputer=fromComputer
        this.toComputer=toComputer
    }

}